﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	通知列表
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>通知列表</h2>
    <%
        Message[] messages0 = (Message[])ViewData["messages0"];
    %>
    <table class="tableCss" cellspacing="1" cellpadding="0" width="85%" align="center" border="0" style="margin-top:20px" > 
       <tr>
    	    <td class="highRow" >重要通知</td>
	    </tr>
        <% foreach (var item in messages0)
           { 
        %>
	    <tr onmouseover="this.className='trbgmouseover'"  onmouseout="this.className='trmouseout' ">
	        <td class="row" style="padding-top:15px;padding-bottom:15px"> <%= item.content %></td>
        </tr>
        <%} %>
    </table>

    <%
        Message[] messages1 = (Message[])ViewData["messages1"];
    %>
    <table class="tableCss" cellspacing="1" cellpadding="0" width="85%" align="center" border="0" style="margin-top:20px" > 
       <tr>
    	    <td class="highRow" >一般通知</td>
	    </tr>
        <% foreach (var item in messages1)
           { 
        %>
	    <tr onmouseover="this.className='trbgmouseover'"  onmouseout="this.className='trmouseout' ">
	        <td class="row" style="padding-top:15px;padding-bottom:15px"> <%= item.content %></td>
        </tr>
        <%} %>
    </table>

    <%
        Message[] messages2 = (Message[])ViewData["messages2"];
    %>
    <table class="tableCss" cellspacing="1" cellpadding="0" width="85%" align="center" border="0" style="margin-top:20px" > 
       <tr>
    	    <td class="highRow" >系统维护</td>
	    </tr>
        <% foreach (var item in messages2)
           { 
        %>
	    <tr onmouseover="this.className='trbgmouseover'"  onmouseout="this.className='trmouseout' ">
	        <td class="row" style="padding-top:15px;padding-bottom:15px"> <%= item.content %></td>
        </tr>
        <%} %>
    </table>

</asp:Content>
